package com.aabte.lota.auth.auth.token.payload;

import java.util.Set;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/4/5
 */
@Data
@Builder
@Accessors(chain = true)
public class TokenPayloadDTO {

  private String uid;
  private String username;

  private Set<RoleDTO> roles;

  private Set<PermissionDTO> permissions;
}
